package com.thm.tfast.core.sevruity.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName IgnoreUrlsConfig
 * @Author THM
 * @Date 2022/10/10 15:21
 * @Version 1.0
 * @Description 用于配置白名单资源路径
 */
@Data
@Component
@ConfigurationProperties(prefix = "secure.ignored")
public class IgnoreUrlsConfig {
    private List<String> urls = new ArrayList<>();
}
